package priv.w2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ManagerMent {

	@Autowired
	private MiShu miShu;
	
	@Autowired
	private Husband driver;

	public MiShu getMiShu() {
		return miShu;
	}

	public void setMiShu(MiShu miShu) {
		this.miShu = miShu;
	}

	public Husband getDriver() {
		return driver;
	}

	public void setDriver(Husband driver) {
		this.driver = driver;
	}

	@Override
	public String toString() {
		return "ManagerMent [miShu=" + miShu + ", driver=" + driver + "]";
	}
	
	
}
